package cn.hdu.liang.polymorphism.shape;

public class Triangle extends Shape {
    public void draw() {
        System.out.println("Triangle.draw");
    }

    public void erase() {
        System.out.println("Triangle.erase");
    }

    @Override
    public void newMethod() {
        System.out.println("Triangle.newMethod");
    }
}
